#include<iostream>

void fun(int &a) {
	a = 10;
}

int main() {

	int a = 1;
	fun(a);

	std::cout << a << std::endl;
	std::cout << a << std::endl;



	return 0;
}